package Cani;
//umplere cana 2
public class U2 extends Operator{

	public boolean condition(Nod n){
		if(n.getX()<getMaxCapacityC2())
			return true;
		else return false;
	}
	public Nod action(Nod n){
		Nod clone=new Nod(n);
		clone.setY(getMaxCapacityC2());
		return clone;
	}

}
